

# def func(list):
#     max1 = 1
#     max2 = 1
#     for i in range(9):
#         if list[i] == list[i+1] == 1:
#             max1 += list[i]
#         elif max1 > max2:
#             max2 = max1
#             max1 = 1
#         else:
#             max1 = 1
#     if max2 == 1:
#         max2 = 0
#     return max2
#
#
# import random
# n = 1
# list_ = []
# for i in range(10):
#     list_.append([])
#     for j in range(10):
#         list_[i].append(random.randint(0, 1))
# listh = []
# listl = []
# for i in range(10):
#     print(list_[i])
#     listh.append(func(list_[i]))
#     listl_ = []
#     for j in range(10):
#         listl_.append(list_[j][i])
#     listl.append(func(listl_))
#
# maxh = max(listh)
# maxl = max(listl)
# print(listh, "行", maxh, "最大值")
# print(listl, "列", maxl, "最大值")

#
# import time
# a = time.time()
# def fbng(n):
#     if n == 0:
#         return 0
#     elif n ==1:
#         return 1
#     else:
#         return fbng(n-1) + fbng(n-2)
# print([fbng(i) for i in range(40)])
# print(time.time() -a)

liads = {'1': 2, '3': 59}
sdsa = dict(zip(liads.values(), liads.keys()))
print(sdsa)
